package com.ml.mall.bean.req.industry;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "产业信息添加")
@Accessors(chain = true)
public class IndustryAddDto {
    @ApiModelProperty(value = "产业名称")
    @NotBlank(message = "产业名称不能为空")
    private String industryName;

    @ApiModelProperty(value = "排序")
    @NotNull(message = "排序信息不能为空")
    private Integer indexNo;
}
